$(function(){
  var h = $(window).height()-10-50,
      h1 = $(window).height()-88-50;
  $('.nav dl').height(h)
  $('.mainNav dl').height(h1)
})
function isMobel(mobile) {
  	var reg = /^0?1[3|4|5|8][0-9]\d{8}$/;
  	if(!reg.test(mobile))
  	{
      return false;
  	}else{
      return true;
  	}
}

function isEmail(email)
{
	var reg = /^([\.a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
	if(!reg.test(email))
    {
        return false;
    }else{
		return true;
	}
}